from model.db import db
# 定义数据表模型类
class Carousel(db.Model):
    __tablename__ = 'carousel'
    id = db.Column(db.Integer, primary_key=True)
    url = db.Column(db.Text, nullable=True)
    link = db.Column(db.String(255), nullable=True)
    sort = db.Column(db.Integer, nullable=True)
    status = db.Column(db.Integer, nullable=True)